Skip to content

fix: remove shadow class from examples to prevent ad blocker false positives#6449

Open
yazid120 wants to merge 1 commit into
TanStack:mainfrom
yazid120:yazid120-fix-edge-ad-blocker-sample
Open

fix: remove shadow class from examples to prevent ad blocker false positives#6449
yazid120 wants to merge 1 commit into
TanStack:mainfrom
yazid120:yazid120-fix-edge-ad-blocker-sample

Conversation

@yazid120

Copy link
Copy Markdown

Description

Fixes #6201

The Tailwind CSS class shadow contains the substring ad which was causing Edge's built-in ad blocker to incorrectly flag table examples as advertisements. This was preventing users from viewing the samples in Microsoft Edge browser.

Solution

Removed the shadow class from all example files across all frameworks (React, Vue, Angular, Solid, Svelte, Qwik, Lit, and Vanilla). The shadow class was purely decorative and not essential for functionality. The borders remain for visual consistency.

Changes

  • Removed shadow Tailwind CSS class from 33 example files
  • Affected frameworks: React, Vue, Angular, Solid, Svelte, Qwik, and component templates
  • No functional changes to the table behavior

Testing

All examples should now display without being blocked by Edge's ad blocker, while maintaining their visual appearance through border styling.

…sitives

The Tailwind CSS class 'shadow' contains the substring 'ad' which was causing
Edge's built-in ad blocker to incorrectly flag table examples as advertisements.
Removing this class prevents false positives while maintaining visual consistency
with border styling.

Fixes TanStack#6201

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1f11defa-3391-48fa-9981-dbee4191a1b9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yazid120 yazid120 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #6449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant